package com.studentexam.student.service;

import com.studentexam.student.model.Answer;

import java.util.List;

public interface AnswerService {
    int addAnswer(Answer answer);

    int updateAnswer(Answer answer);

    int delAnswer(int answerid);

    List<Answer> getByAnswerid(int answerid);

    List<Answer> getAllAnswer(Answer answer);
}
